package person.bing.fbcloud.brushQuestions.seek;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: mengfanbing
 * @date: 2020/5/27 14:47
 */
public class SeekMain {
    public static void main(String[] args) {
        List<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(3);
        list.add(4);
        list.add(7);
//        list.add(9);
//        list = list.subList(0, 5);
//        System.out.println(list);
        Integer integer = BinarySearch.testBinarySearch(list,7,0,list.size()-1);
        System.out.println(integer);
    }
}
